Program Comprehension Using Aspects

نویسندگان

  • Darren Ng
  • David R. Kaeli
  • Sergei Kojarski
  • David H. Lorenz
چکیده

Aspect Oriented Programming (AOP) is a powerful reflective programming tool. In this paper we discuss how simple yet effective AOP constructs can be used to facilitate the process of program comprehension on three bodies of code. The first is the Java portion of a sizable third party legacy system for manipulating and displaying protein sequences entitled Friend. The second is Eclipse, an open source Java IDE. The third is Compress, a SPEC JVM98 Java benchmark. We study uses of the AspectJ AOP language to expose both dynamic and static software characteristics. Examples provided are actual code and data from our experience re-engineering the Friend software but the AOP techniques presented can be applied towards any system.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

AspectMaps: Extending Moose to visualize AOP software

When using Aspect-Oriented programming the application implicitly invokes the functionality contained in the aspects. Consequently program comprehension of such software is more intricate. To alleviate this difficulty we developed the AspectMaps visualization and tool. AspectMaps extends the Moose program comprehension and reverse engineering platform with support for aspects, and is implemente...

متن کامل

Selective Introduction of Aspects for Program Comprehension

We propose a technique that uses webmining principles on event traces for uncovering important classes in a system’s architecture. These classes can form starting points for the program comprehension process. Furthermore, we argue that these important classes can be used to define pointcuts for the introduction of aspects. Based on a medium-scale case study – Apache Ant – and detailed architect...

متن کامل

Program Comprehension in Multi-Language Systems

Thispaperpresents an approach to program comprehension in multi-language systems. Such systems are characterized by a high amount of source codes in various languages for programming, database dejkition and job control. Coping with those systems requires the references crossing the language boundaries to be analyzed. Using the EEWGRAL approach to graph-based conceptual modeling, models represen...

متن کامل

Program Comprehension: Investigating the Effects of Naming Style and Documentation

In both commercial and academic environments, software development frameworks are an important tool in the construction of industrial strength software solutions. Despite the role they play in present day software development, little research has gone into understanding which aspects of their design, influence the way software developers use frameworks at the source code level. This paper inves...

متن کامل

As far as program comprehension is concerned

A concern-based approach to support software comprehension and analysis is proposed. Concerns represent various aspects of a system that are interesting for some stakeholders, like features, architectural solutions, units of work, etc. Using concern-based queries on the software artefacts, new derived information on the system can be exposed. The results of the queries are also represented as c...

متن کامل

Aspects For Legacy Applications

This paper provides a summary of the objectives, structure, and the outcome of Dagstuhl seminar #06302 on Aspects For Legacy Applications, held from July 26th to July 29th 2006 at Schloss Dagstuhl, Germany. The goal of the seminar was to bring together researchers from the domains of aspect oriented software development, software reengineering (with a focus on reverse engineering, program compr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004